import axios from 'axios';
import {API_NEW_VERSION, ALL_SERVICE_API} from '../api';
// var qs = require('qs');

export const searchALLPayWayConfig = (param) => {
  return axios.get(API_NEW_VERSION + 'pay_way_configs', {params: param});
};
/**
 * 根据会员id，获取整车的结算方式
 * @param param
 * @returns {AxiosPromise}
 */
export const getByMebPerson = param => {
  return axios.get(ALL_SERVICE_API + '/truck-load-pay-way-config-meb-personals/for-app', {params: param});
};
